﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;

public class PictureCancel : MonoBehaviour {

    Button button;
	// Use this for initialization
	void Start () 
    {
        button = GetComponent<Button>();
        button.onClick.AddListener(CancelEvent);
	}
	
    public void CancelEvent()
    {
        NewInPromotions.Instance.CancelGD();
    }

	// Update is called once per frame
	void Update () {
		
	}
}
